//
//  LRDialog.h
//

#import <UIKit/UIKit.h>

typedef void(^onConfirm)(void);

@interface LRDialog : UIView

@property(nonatomic,copy) onConfirm block;
@property(nonatomic,copy) onConfirm cancelBlock;
+(instancetype)dialog:(NSString*)title message:(NSString*)message btnTitle:(NSString*)btnTitle btnCancelTitle:(NSString*)btnCancelTitle;
-(void)show;

@end
